Why is my Java recursion code for counting subsets returning the wrong answer

join shbcf.ru